package site.anxuan.seckill.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * Http请求返回实体类
 *
 * @author 黯玄
 * @since v1.0
 */
@Data
@ToString
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class Result<T> {
    /**
     * 请求返回状态
     */
    private int status;

    /**
     * 请求返回数据
     */
    private T data;
}
